package com.yYclass.service;

import com.yYclass.controller.request.TrafficPageRequest;
import com.yYclass.model.EventMessage;
import com.yYclass.model.TrafficTaskDO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yYclass.vo.TrafficVO;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 栗永松
 * @since 2024-04-09
 */
public interface TrafficTaskService extends IService<TrafficTaskDO> {
    void handleTrafficMessage(EventMessage eventMessage);

    Map<String,Object> pageAvailable(TrafficPageRequest request);

    TrafficVO detail(long trafficId);
}
